package com.gopay.common.cps.dao.cbrmb;

import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.cbrmb.CbRmbWaybill;

/**
 * @ClassName CbRmbWaybillDAO 
 * @Description CbRmbWaybill实体类查询DAO
 * @author b.zou
 * @date 2016年12月8日 下午3:02:01
 * @Copyright ©www.gopay.com.cn Inc.All rights reserved.
 */
public interface CbRmbWaybillDAO extends BaseDAO<CbRmbWaybill,Integer> {
	
	CbRmbWaybill findByCombineParams(String merOrderId,String wayBill,String carrierCode);
	
	CbRmbWaybill findBySq(String sqNo);
	
	CbRmbWaybill findByGopayOrderId(String gopayOrderId);
	
	List<CbRmbWaybill> findEffectiveByMerOrderId(String merOrderId, String custId);

	List<CbRmbWaybill> findByUniqueConditions(String custId, String merOrderId, Integer carrierCode, String freightNumber);
	
}
